package com.demo;

import java.util.Calendar;
import java.util.Date;

public class HelloWorld {
    /**
     * Say hello to everyone
     * @param now
     * @param user
     * @return the word what to say
     */
    public String sayHello(Date now, String user) {
        GreetToUser greetToUser = new GreetToUser(user);
        GreetAboutTime greetAboutTime = new GreetAboutTime(now);
        return greetToUser.greet() + "" + greetAboutTime.greet();
    }
}
